import {
	GET_LIST_DATA,
	GET_LIST_ISFETCHING
} from './mutation-types.js'


export default {
	[GET_LIST_ISFETCHING](state){
		state.list.isFetching = true;
	},
	[GET_LIST_DATA](state, payload) {
		state.list.data = payload.data;
		state.list.isFetching = false;
	},
}
